package com.example.newsmanager.entity.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;


import java.util.Date;
import java.util.List;

@Data
public class CommentDTO {
    private Long commentId;
    private Long parentId;
    private String userName;
    private Long newsId;
    private String commentContent;
    private Date commentTime;
    private String userAvatar;
    private List<CommentDTO> children;
}
